package com.lykj.llw.box.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.lykj.llw.box.R
import com.lykj.llw.box.data.bean.response.ChooseGameResponse
import com.lykj.llw.box.data.bean.response.ChooseServerResponse

/**
 * ================================================
 * 选择区服适配器
 * ================================================
 *
 * @author gosha
 * @date 2023/10/31-10:35
 */
class ChooseServerAdapter :
    BaseQuickAdapter<ChooseServerResponse.DataDTO, BaseViewHolder>(R.layout.item_choose_game) {
    override fun convert(holder: BaseViewHolder, item: ChooseServerResponse.DataDTO) {
        holder.setText(R.id.tv_text, "${item.serviceName}")
    }
}